
<div class="row-content am-cf">
	<div class="row">
		<div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
			<div class="widget am-cf">
				<div class="widget-head am-cf">
					<div class="widget-title am-cf">角色列表</div>
				</div>
				<div class="col-sm-12">
					<div class="btn-group" id="role_toolbar">
						<button shiro:hasPermission="role:add" type="button"
							class="btn btn-default btn-add" onclick="loadPage('role/form')">
							<i class="am-icon-plus"></i> 新增
						</button>
						
						<button type="button" class="btn btn-default btn-function"
							onclick="permission()" shiro:hasPermission="role:permission">
							<i class="am-icon-archive"></i> 分配权限
						</button>


						<button type="button" onclick="btnDel()" class="btn btn-default btn-function"
							shiro:hasPermission="role:delete">
							<i class="am-icon-trash-o"></i> 删除
						</button> 
						
						<button type="button" onclick="btnEdit()" class="btn btn-default btn-function" shiro:hasPermission="role:edit">
								<i class="am-icon-edit"></i> 编辑
							</button>
						
					</div>

					<div class="bootstrap-table">
						<table id="role_table"></table>
					</div>
				</div>
			</div>			
		</div>
	</div>
</div>

<script type="text/javascript" th:src="@{/customer/role/list.js}" />

